package action;

import bean.AddressDb;

public class AddressAddAction {

	private String name;
	private String email;
	private String belong;
	public String execute(){
			AddressDb a = new AddressDb();
			a.AddressAddP(name, email, belong);
		return "index";
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getBelong() {
		return belong;
	}
	public void setBelong(String belong) {
		this.belong = belong;
	}
	
}
